home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / awe2-0_1.lha / awe2-0.1 / Src / Debug.h < prev    next >
C/C++ Source or Header  |  1990-07-09  |  764b  |  33 lines

  1. // This may look like C code, but it is really -*- C++ -*-
  2. // 
  3. // Copyright (C) 1988 University of Illinois, Urbana, Illinois
  4. // Copyright (C) 1989 University of Colorado, Boulder, Colorado
  5. // Copyright (C) 1990 University of Colorado, Boulder, Colorado
  6. //
  7. // written by Dirk Grunwald (grunwald@foobar.colorado.edu)
  8. //
  9. //
  10. // Debug.h - Debugging stuff.
  11. //
  12. //    $Header: /foobar/grunwald/Awe2/NewSrc/RCS/Debug.h,v 4.1 89/10/18 13:27:01 grunwald Exp Locker: grunwald $
  13. // 
  14.  
  15. #ifndef Debug_h
  16. # define Debug_h
  17. #pragma once
  18.  
  19. # ifdef DEBUG
  20.  
  21. #define    Debug    printf
  22.  
  23. # else    /* DEBUG */
  24.  
  25. //
  26. // This is int instead of void to avoid "sorry, not implemented" things.
  27. //
  28.  
  29. inline /* should be void */ int Debug( char *, ... ) { return (0); }
  30.  
  31. # endif    /* DEBUG */
  32. #endif    /* Debug_h */
  33.